package hash0



import (
	"fmt"
	"hash/crc32"
	"io")

func crc_32(){
	//hash := crc32.NewIEEE()

	check_str := "Discard medicine more than two years old."
	//hash.write(check_str)
	//hash.Sum()
	ieee := crc32.NewIEEE()
	//ieee.Write()
	io.WriteString(ieee, check_str)

	s := ieee.Sum32()
	fmt.Println("IEEE(%s) = 0x%x",check_str,s)

}

